package com.gxy.learn.design.model.behaviour.memento.white_box;

/**
 * @description: 备忘录(Memento) 角色
 * @author: gaoxueyong
 * @Date: 2022/11/9 09:29
 */
public class RoleStateMemento {
    //    生命力
    private int vit;
    //    防御力
    private int atk;
    //    攻击力
    private int def;

    public RoleStateMemento(int vit, int atk, int def) {
        this.vit = vit;
        this.atk = atk;
        this.def = def;
    }

    public int getVit() {
        return vit;
    }

    public int getAtk() {
        return atk;
    }

    public int getDef() {
        return def;
    }
}
